package com.yingpai.fitness.entity.address;

import java.io.Serializable;
import java.util.List;

/**
 * Created by ASUS on 2018/5/28.
 */

public class AddressBean implements Serializable{

    /**
     * result : success
     * msg : 查询成功
     * map : {"addresses":[{"id":43,"customerId":23,"address":"上海 海宁市 淳安县","receiverName":"啦啦","receiverPhoneNo":"15234109261"}]}
     */

    private String result;
    private String msg;
    private MapBean map;

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public MapBean getMap() {
        return map;
    }

    public void setMap(MapBean map) {
        this.map = map;
    }

    public static class MapBean implements Serializable{
        private List<AddressesBean> addresses;

        public List<AddressesBean> getAddresses() {
            return addresses;
        }

        public void setAddresses(List<AddressesBean> addresses) {
            this.addresses = addresses;
        }

        public static class AddressesBean implements Serializable{
            /**
             * id : null
             * customerId : 40
             * address : 山西省太原市小店区 哈哈还差
             * receiverName : 哈哈
             * receiverPhoneNo : 15555555555
             * status : 1
             */

            private int id;
            private int customerId;
            private String address;
            private String receiverName;
            private String receiverPhoneNo;
            private String status;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getCustomerId() {
                return customerId;
            }

            public void setCustomerId(int customerId) {
                this.customerId = customerId;
            }

            public String getAddress() {
                return address;
            }

            public void setAddress(String address) {
                this.address = address;
            }

            public String getReceiverName() {
                return receiverName;
            }

            public void setReceiverName(String receiverName) {
                this.receiverName = receiverName;
            }

            public String getReceiverPhoneNo() {
                return receiverPhoneNo;
            }

            public void setReceiverPhoneNo(String receiverPhoneNo) {
                this.receiverPhoneNo = receiverPhoneNo;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }
        }

    }
}
